package com.hsource.paymentcenter.domain.order;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.hsource.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 订单医生信息对象 xy_order_doctor
 *
 * @author yangyang
 * @date 2020-09-29
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class OrderDoctor extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 医生id
     */
    private String doctorId;

    /**
     * 价格
     */
    private Long price;

    /**
     * 咨询类型 IT:图文 TH:电话
     */
    private String consultType;

    /**
     * 时长
     */
    private Long duration;

    /**
     * 订单id
     */
    private String orderId;

    /**
     * 医生姓名
     */
    private String doctorName;

    /**
     * 问题id
     */
    private Integer problemId;

    /** 预约时间 **/
    private String reservationTime;

    /**拨打时间**/
    private String inquiryTime;

    public String getInquiryTime() {
        return inquiryTime;
    }

    public void setInquiryTime(String inquiryTime) {
        this.inquiryTime = inquiryTime;
    }

    public String getReservationTime() {
        return reservationTime;
    }

    public void setReservationTime(String reservationTime) {
        this.reservationTime = reservationTime;
    }

    public Integer getProblemId() {
        return problemId;
    }

    public void setProblemId(Integer problemId) {
        this.problemId = problemId;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setDoctorId(String doctorId) {
        this.doctorId = doctorId;
    }

    public String getDoctorId() {
        return doctorId;
    }

    public void setPrice(Long price) {
        this.price = price;
    }

    public Long getPrice() {
        return price;
    }

    public void setConsultType(String consultType) {
        this.consultType = consultType;
    }

    public String getConsultType() {
        return consultType;
    }

    public void setDuration(Long duration) {
        this.duration = duration;
    }

    public Long getDuration() {
        return duration;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getOrderId() {
        return orderId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("doctorId", getDoctorId())
                .append("price", getPrice())
                .append("consultType", getConsultType())
                .append("duration", getDuration())
                .append("orderId", getOrderId())
                .append("doctorName",getDoctorName())
                .append("problemId",getProblemId())
                .append("reservationTime", getReservationTime())
                .append("inquiryTime", getInquiryTime())
                .toString();
    }
}
